package com.fd.dx.service;

import com.fd.dx.domain.ZP;
import com.fd.dx.web.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * Created by lenovo on 2018/2/26.
 */
public interface ZPService {
    public List<ZP> getChildfromPid(Integer pid);
    public Object getMaxGene();
    public ZP finePersonFromID(Integer id);
    public Page<ZP> getPage(Page<ZP> page);
    public ZP getParentfromPid(Integer pid);
    public List<ZP> getXD(Map map);
    public Page<ZP> finePersonFromName(String name,Page<ZP> page);
    public List<ZP> getTXD(Integer pid);

    public Page<ZP> finePersonFromRName(String name,Page<ZP> page);

    public Page<ZP> finePersonFromIDName(String name,Page<ZP> page);

    public List<ZP> getZPL(Integer pid);

    public Integer hdtt(Integer id);
    public Integer addZP(ZP zp);
    public Integer updateZP(ZP zp);
    public Integer deleteZP(Integer id);
}
